package top.yinjinbiao.mqtt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Description
 * @Author yin.jinbiao
 * @Date 2021/9/18 17:15
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "mqtt")
@PropertySource("classpath:mqtt.properties")
@Data
public class MqttProperties {

    private String brokerUrl;

    private String clientId;

    private String username;

    private String password;
}
